﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Entity.Table
{
    public class MSearchInfo
    {
        
        //唯一编号:用户编号+收费表名
        private string _id;

        public string Id
        {
            get { return _id; }
            set { _id = value; }
        }
        //用户编号        
        private string _gasUserID;

        public string GasUserID
        {
            get { return _gasUserID; }
            set { _gasUserID = value; }
        }        
        //姓名
        private string _userName;

        public string UserName
        {
            get { return _userName; }
            set { _userName = value; }
        }
        //上次表数
        private int _lastWatchNumber;

        public int LastWatchNumber
        {
            get { return _lastWatchNumber; }
            set { _lastWatchNumber = value; }
        }
        //上次收费日期
        private string _lastChargeDate;

        public string LastChargeDate
        {
            get { return _lastChargeDate; }
            set { _lastChargeDate = value; }
        }
        //历史滞纳金
        private float _historyOverdueFine;

        public float HistoryOverdueFine
        {
            get { return _historyOverdueFine; }
            set { _historyOverdueFine = value; }
        }
        //本月滞纳金
        private float _currentOverdueFine;

        public float CurrentOverdueFine
        {
            get { return _currentOverdueFine; }
            set { _currentOverdueFine = value; }
        }
        //上月欠费
        private float _lastMonethOweFee;

        public float LastMonethOweFee
        {
            get { return _lastMonethOweFee; }
            set { _lastMonethOweFee = value; }
        }
        //本月欠费
        private float _currentOweFee;

        public float CurrentOweFee
        {
            get { return _currentOweFee; }
            set { _currentOweFee = value; }
        }
        //本次表数
        private int _currentWatchNumber;

        public int CurrentWatchNumber
        {
            get { return _currentWatchNumber; }
            set { _currentWatchNumber = value; }
        }
        //最大金额
        private float _maxMoney;

        public float MaxMoney
        {
            get { return _maxMoney; }
            set { _maxMoney = value; }
        }
        //单价
        private float _price;

        public float Price
        {
            get { return _price; }
            set { _price = value; }
        }
        //本月应缴
        private float _thisMonthPayMoney;
        
        public float ThisMonthPayMoney
        {
            get { return _thisMonthPayMoney; }
            set { _thisMonthPayMoney = value; }
        }
        //上次结余
        private float _lastJieYu;

        public float LastJieYu
        {
            get { return _lastJieYu; }
            set { _lastJieYu = value; }
        }
        //欠费总金额
        private float _oweTotalMoney;

        public float OweTotalMoney
        {
            get { return _oweTotalMoney; }
            set { _oweTotalMoney = value; }
        }
        //滞纳金总额
        private float _overdueFineTotalMoney;

        public float OverdueFineTotalMoney
        {
            get { return _overdueFineTotalMoney; }
            set { _overdueFineTotalMoney = value; }
        }

        //应缴合计
        private float _totalMoney;
        public float TotalMoney
        {
            get { return _totalMoney; }
            set { _totalMoney = value; }
        }

        public MSearchInfo(string id, string gasUserID, string userName, int lastWatchNumber, string lastChargeDate,
                           float historyOverdueFine, float currentOverdueFine, float lastMonethOweFee,
                           float currentOweFee, int currentWatchNumber, float maxMoney, float price, float thisMonthPayMoney,
                           float lastJieYu, float oweTotalMoney, float overdueFineTotalMoney, float totalMoney)
        {
            this._id = id;
            this._gasUserID = gasUserID;
            this._userName = userName;
            this._lastWatchNumber = lastWatchNumber;
            this._lastChargeDate = lastChargeDate;
            this._historyOverdueFine = historyOverdueFine;
            this._currentOverdueFine=currentOverdueFine;
            this._lastMonethOweFee=lastMonethOweFee;
            this._currentOweFee=currentOweFee;
            this._currentWatchNumber = currentWatchNumber;
            this._maxMoney = maxMoney;
            this._price = price;
            this._thisMonthPayMoney = thisMonthPayMoney;
            this._lastJieYu = LastJieYu;
            this._oweTotalMoney = oweTotalMoney;
            this._overdueFineTotalMoney = overdueFineTotalMoney;
            this._totalMoney = totalMoney;
        }
    }
}
